import {Component, useState, useEffect} from 'react'
import { connect } from "react-redux";
import { View, Image } from "@tarojs/components";

// 静态资源
import './index.scss'
import headPortraitIcon from '../../assets/images/my/1.jpg'
import arrowIcon from '../../assets/images/my/arrow.png'

// 用户头像、昵称
function UserHead() {



    return (
        <View className="user-info-container">

            <View className="head-nick-container">
                {/* 头像 */}
                <Image className="head-portrait" src={headPortraitIcon}></Image>

                <View className="nickname-vip-container">
                    <View className="nickname">我把你画成画未开的一朵画</View>
                </View>
            </View>

            <View className="arrow-container">
                <Image src={arrowIcon}></Image>
            </View>

        </View>
    )
}


function My() {


    return (

        <UserHead />

    )

}

export default My
